Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add suggestions when cargo add multiple packages #11186

Merged
merged 5 commits into from
Nov 22, 2022

Conversation

Rustin170506
Copy link
Member

@Rustin170506 Rustin170506 commented Oct 7, 2022

What does this PR try to resolve?

close #11173
Add suggestions when cargo add multiple packages. See #11173 (comment)

How should we test and review this PR?

  • unit test

@rust-highfive
Copy link

r? @weihanglo

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 7, 2022
@Rustin170506 Rustin170506 marked this pull request as draft October 7, 2022 10:38
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
@Rustin170506 Rustin170506 marked this pull request as ready for review October 7, 2022 11:00
@Rustin170506
Copy link
Member Author

r? @epage
Thanks for your review! 💚 💙 💜 💛 ❤️

@rust-highfive rust-highfive assigned epage and unassigned weihanglo Oct 8, 2022
@Rustin170506 Rustin170506 requested review from pickfire and epage and removed request for epage and pickfire October 10, 2022 12:56
@Rustin170506
Copy link
Member Author

image

I guess I encountered a wried bug in GitHub. I just wanna a new review but it will remove one's review at the same time.

Copy link
Contributor

@epage epage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, thanks!

src/cargo/ops/cargo_add/mod.rs Outdated Show resolved Hide resolved
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
Copy link
Contributor

@pickfire pickfire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@Rustin170506 Rustin170506 force-pushed the rustin-patch-add-suggestion branch 2 times, most recently from 2637e08 to 61fe73e Compare November 3, 2022 12:39
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
@Rustin170506
Copy link
Member Author

@epage Could you please take another look? Thanks in advance!

src/cargo/ops/cargo_add/mod.rs Outdated Show resolved Hide resolved
src/cargo/ops/cargo_add/mod.rs Outdated Show resolved Hide resolved
@epage
Copy link
Contributor

epage commented Nov 22, 2022

Sorry for the delays, not around a computer as much right now.

Signed-off-by: hi-rustin <rustin.liu@gmail.com>
@Rustin170506
Copy link
Member Author

Sorry for the delays, not around a computer as much right now.

Thanks for your review! 💚 💙 💜 💛 ❤️

@epage
Copy link
Contributor

epage commented Nov 22, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Nov 22, 2022

📌 Commit db3ebb6 has been approved by epage

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 22, 2022
@bors
Copy link
Contributor

bors commented Nov 22, 2022

⌛ Testing commit db3ebb6 with merge 995f5ef...

@bors
Copy link
Contributor

bors commented Nov 22, 2022

☀️ Test successful - checks-actions
Approved by: epage
Pushing 995f5ef to master...

@bors bors merged commit 995f5ef into rust-lang:master Nov 22, 2022
weihanglo added a commit to weihanglo/rust that referenced this pull request Nov 23, 2022
7 commits in eb5d35917b2395194593c9ca70c3778f60c1573b..ba607b23db8398723d659249d9abf5536bc322e5
2022-11-17 22:08:43 +0000 to 2022-11-22 20:52:39 +0000

- Fix failure to parse rustc's JSON output if it is too nested (rust-lang/cargo#11368)
- Add suggestions when `cargo add` multiple packages (rust-lang/cargo#11186)
- Update mod.rs (rust-lang/cargo#11395)
- Fix typo `try use` -> `try to use` (rust-lang/cargo#11394)
- Add warning when `cargo tree -i <spec>` can not find packages (rust-lang/cargo#11377)
- Clean profile, patch, and replace in cargo remove (rust-lang/cargo#11194)
- chore: Upgrade miow (rust-lang/cargo#11391)
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 23, 2022
Update cargo

7 commits in eb5d35917b2395194593c9ca70c3778f60c1573b..ba607b23db8398723d659249d9abf5536bc322e5 2022-11-17 22:08:43 +0000 to 2022-11-22 20:52:39 +0000

- Fix failure to parse rustc's JSON output if it is too nested (rust-lang/cargo#11368)
- Add suggestions when `cargo add` multiple packages (rust-lang/cargo#11186)
- Update mod.rs (rust-lang/cargo#11395)
- Fix typo `try use` -> `try to use` (rust-lang/cargo#11394)
- Add warning when `cargo tree -i <spec>` can not find packages (rust-lang/cargo#11377)
- Clean profile, patch, and replace in cargo remove (rust-lang/cargo#11194)
- chore: Upgrade miow (rust-lang/cargo#11391)
@ehuss ehuss added this to the 1.67.0 milestone Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cargo add multiple packages found at no suggestion
7 participants